package routers

import (
	"middleware-demo/controllers/test"
	"middleware-demo/middleware"

	"github.com/gin-gonic/gin"
)

func TestRoutersInit(r *gin.Engine) {
	testR := r.Group("/test")
	{
		testR.GET("greet", middleware.MiddleController{}.PreHandler, test.TestController{}.Greet)
	}
}
